<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>关闭窗口</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
    <link rel="stylesheet" href="__PUBLIC__/weui/css/weui.min.css"/>
    <link rel="stylesheet" href="__PUBLIC__/weui/css/example.css"/>
    <script src="__PUBLIC__/static/jquery-2.0.3.min.js"></script>
</head>
<body>
<div class="weui_msg">
    <div class="weui_icon_area"><i class="weui_icon_success weui_icon_msg"></i></div>
    <div class="weui_text_area">
        <h2 class="weui_msg_title">绑定成功</h2>
        <p class="weui_msg_desc">点击确定，自动关闭</p>
    </div>
    <div class="weui_opr_area">
        <p class="weui_btn_area">
            <a href="javascript:;" class="weui_btn weui_btn_primary" id="ent">确定</a>
            <!--<a href="javascript:;" class="weui_btn weui_btn_default">取消</a>-->
        </p>
    </div>
    <div class="weui_extra_area">
        <a href="">技术支持 敏捷软件协会</a>
    </div>
</div>
</body>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script>
    wx.config({
        debug: false,
        appId: '{$SignPackage.appId}',
        timestamp: '{$SignPackage.timestamp}',
        nonceStr: '{$SignPackage.nonceStr}',
        signature: '{$SignPackage.signature}',
        jsApiList: [
            'closeWindow'
        ]
    });
//test12
    wx.ready(function () {
        $("#ent").click(function () {
            wx.closeWindow();
        });
    });
</script>
</html>
